#ifndef TABLE_SCHEMA_H
#define TABLE_SCHEMA_H

#include <list>
#include <string>

class TableSchema
{
public:
    std::string Name;
    std::list<std::tuple<std::string, size_t>> ColumnSchemas;

    TableSchema();
    TableSchema(std::string  name, std::initializer_list<std::tuple<std::string, size_t>> columnSchema);
    [[nodiscard]] std::string ToString() const;
    bool FromString(const std::string& json);
};


#endif //TABLE_SCHEMA_H
